import { createApp } from 'vue'

import './styles'
import App from './App'
import router from './router'
import { errorHandler } from './error'
import registerGlobalComponent from './components'
import { setupStore } from './store'

const app = createApp(App)
app.use(router)
setupStore(app)
registerGlobalComponent(app)
errorHandler(app)

app.mount('#app')
